/**
 * @author Kevin
 * @Data 2020/11/27
 */
import java.util.ArrayList;
import java.util.Random;
import java.util.Scanner;

public class SelectGift {
    public static void main(String[] args) {
        GiftNum();
    }
    public static void GiftNum(){
        ArrayList<String> list = new ArrayList<>();
        Scanner sc = new Scanner(System.in);
        System.out.println("请输入你想要送的礼物的个数");
        int num =  sc.nextInt();
        System.out.println("请输入你想要送的礼物");
        for (int i=0;i<num;i++){
            list.add(sc.next());
        }
        System.out.println("请输入生日日期");
		String str = sc.next();
        Random r = new Random();
        int R = r.nextInt(num);
        System.out.println("将在"+str+"送出"+list.get(R));
    }
}
